<!DOCTYPE HTML>
<html lang="zh-CN" class="bootstrap-admin-vertical-centered" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>用户登录</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link rel="stylesheet" th:href="@{/css/bootstrap.min.css}">
    <link rel="stylesheet" th:href="@{/css/bootstrap-theme.min.css}">
    <link rel="stylesheet" th:href="@{/css/bootstrap-admin-theme.css}">
    <link rel="stylesheet" th:href="@{/css/bootstrap-admin-theme.css}">
    <script th:src="@{/jQuery/jquery-3.1.1.min.js}"></script>
    <script th:src="@{/js/bootstrap.min.js}" ></script>
    <script th:src="@{/js/adminLogin.js}"></script>
</head>

<style type="text/css">
    .alert {
        margin: 0 auto 20px;
        text-align: center;
    }
</style>

<script src="/js/jquery.min.js"></script>
<script src="/static/js/bootstrap.min.js"></script>


<body class="bootstrap-admin-without-padding">
<div class="container">
    <div class="row">
        <div class="col-lg-12">
            <div class="alert alert-info">
                <a class="close" data-dismiss="alert" href="#">&times;</a>
                欢迎使用教室资源管理系统
            </div>
            <form class="bootstrap-admin-login-form" action="/user/login">
                <div class="form-group">
                    <label class="firstname" >账&nbsp;号</label>
                    <input type="text" class="form-control" name="id" placeholder="学号"/>
                    <label class="control-label"  style="display:none;"></label>
                </div>
                <div class="form-group">
                    <label class="firstname" >密&nbsp;码</label>
                    <input type="password" class="form-control" name="pwd" placeholder="密码"/>
                    <label class="control-label"  style="display:none;"></label>
                </div>
                <input type="button" class="btn btn-lg btn-primary" id="login_submit"
                       value="登&nbsp;&nbsp;&nbsp;&nbsp;录"/>
                <input type="hidden" th:value="${msg}" id="msg"/>
            </form>
        </div>
    </div>
</div>
<div class="modal fade" id="modal_info" tabindex="-1" role="dialog" aria-labelledby="addModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title" id="infoModalLabel">提示</h4>
            </div>
            <div class="modal-body">
                <div class="row">
                    <div class="col-lg-12" id="div_info"></div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" id="btn_info_close" data-dismiss="modal">关闭</button>
            </div>
        </div>
    </div>
</div>
</body>
</html>